package RBTree2;

public class Test {
    public static void main(String[] args) {
        int[] array = {10,33,2,3,4,4,534,444,9,8,7,6,5,2,3,445,5,4,3,2,4,32,1,1};
        RBTree rbTree = new RBTree();
        for (int i = 0; i < array.length; i++) {
            rbTree.insert(array[i]);
        }
        System.out.println(rbTree.isRBTree());

    }
}